//
//  UserInfoHelper.m
//  AJBracelet
//
//  Created by zorro on 15/7/6.
//  Copyright (c) 2015年 zorro. All rights reserved.
//

#import "UserInfoHelper.h"
#import "XYSandbox.h"

@implementation UserInfoHelper

DEF_SINGLETON(UserInfoHelper)

- (instancetype)init {
    self = [super init];
    if (self) {
        NSString *userID = [KK_LastUser getObjectValue];
        if (!userID) {
            userID = @"GetFit3";
        }
        _userModel = [UserInfoModel getUserInfoFromDBWithUserID:userID];
    }
    
    return self;
}

@end

